package org.jeecg.modules.demo.Jobmt.service;

import org.jeecg.modules.demo.Jobmt.entity.Wangong;
import org.jeecg.modules.demo.Jobmt.entity.Jobmt;
import com.baomidou.mybatisplus.extension.service.IService;
import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @Description: 报工主表
 * @Author: jeecg-boot
 * @Date:   2021-05-04
 * @Version: V1.0
 */
public interface IJobmtService extends IService<Jobmt> {

	/**
	 * 添加一对多
	 * 
	 */
	public void saveMain(Jobmt jobmt,List<Wangong> wangongList) ;
	
	/**
	 * 修改一对多
	 * 
	 */
	public void updateMain(Jobmt jobmt,List<Wangong> wangongList);
	
	/**
	 * 删除一对多
	 */
	public void delMain (String id);
	
	/**
	 * 批量删除一对多
	 */
	public void delBatchMain (Collection<? extends Serializable> idList);
	
}
